﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=7" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/default/style.css")" rel="stylesheet" type="text/css" media="screen" />
    <link href="@Url.Content("~/Content/css/core.css")" rel="stylesheet" type="text/css" media="screen" />
    <link href="@Url.Content("~/Content/css/print.css")" rel="stylesheet" type="text/css" media="print" />
    <!--[if IE]>
<link href="@Url.Content("~/Content/css/ieHack.css")" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->
    <script src="@Url.Content("~/Scripts/speedup.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.cookie.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.bgiframe.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/dwz.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/dwz.regional.zh.js")" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {
            DWZ.init("@Url.Content("~/Content/dwz.frag.xml")", {
               loginUrl:"login.html",	// 跳到登录页面
                statusCode: { ok: 200, error: 300, timeout: 301 }, //【可选】
                pageInfo: { pageNum: "pageNum", numPerPage: "numPerPage", orderField: "orderField", orderDirection: "orderDirection" }, //【可选】
                debug: false, // 调试模式 【true|false】
                callback: function () {
                    initEnv();
                    $("#themeList").theme({ themeBase: "@Url.Content("~/Content")" }); // themeBase 相对于index页面的主题base路径
                }
            });
        });

    </script>
</head>
<body scroll="no">
    <div id="layout">
        <div id="header">
            <div class="headerNav">
                <a class="logo" href="#">标志</a>
                <ul class="nav">
                    <li id="switchEnvBox"><a href="javascript:">简体中文</a>
                        <ul>
                            <li><a href="#">繁体中文</a></li>
                            <li><a href="#">Englist</a></li>
                        </ul>
                    </li>
                    <li><a href="@Url.Action("LogOut", "Account")">退出</a></li>
                </ul>
                <ul class="themeList" id="themeList">
                    <li theme="default">
                        <div class="selected">
                            蓝色</div>
                    </li>
                    <li theme="green">
                        <div>
                            绿色</div>
                    </li>
                    <li theme="purple">
                        <div>
                            紫色</div>
                    </li>
                    <li theme="silver">
                        <div>
                            银色</div>
                    </li>
                    <li theme="azure">
                        <div>
                            天蓝</div>
                    </li>
                </ul>
            </div>
            <!-- navMenu -->
        </div>
        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse">
                        <div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="sidebar">
                <div class="toggleCollapse">
                    <h2>
                        主菜单</h2>
                    <div>
                        收缩</div>
                </div>
                <div class="accordion" fillspace="sidebar">
                    <div class="accordionHeader">
                        <h2>
                            <span>Folder</span>后台管理</h2>
                    </div>
                    <div class="accordionContent">
                        <ul class="tree treeFolder">
                            <li><a>基础设置管理</a>
                                <ul>
                                    <li>@Html.ActionLink("用户管理", "List", "MUser", null, new { target = "navTab", rel = "User" })</li>
                                    <li>@Html.ActionLink("角色管理", "List", "MRole", null, new { target = "navTab", rel = "Role" })</li>
                                    <li>@Html.ActionLink("组管理", "List", "MGroup", null, new { target = "navTab", rel = "Group" })</li>
                                    <li>@Html.ActionLink("用户<--->角色", "Index", "MUserRole", null, new { target = "navTab", rel = "UserRole" })</li>
                                    <li>@Html.ActionLink("用户<--->组", "List", "MUserGroup", null, new { target = "navTab", rel = "UserGroup" })</li>
                                    <li>@Html.ActionLink("组<--->角色", "List", "MGroupRole", null, new { target = "navTab", rel = "GroupRole" })</li>
                                    <li>@Html.ActionLink("角色授权", "List", "MRolePrivilege", null, new { target = "navTab", rel = "RolePrivilege" })</li>
                                </ul>
                            </li>
                            <li><a>应用程序管理</a>
                                <ul>
                                    <li>@Html.ActionLink("系统", "List", "MApplication", null, new { target = "navTab", rel = "Application1" })</li>
                                    <li>@Html.ActionLink("功能模块", "List", "MApplication", null, new { target = "navTab", rel = "Application2" })</li>
                                    <li>@Html.ActionLink("页面", "List", "MApplication", null, new { target = "navTab", rel = "Application3" })</li>
                                    <li>@Html.ActionLink("局部页面", "List", "MApplication", null, new { target = "navTab", rel = "Application4" })</li>
                                    <li>@Html.ActionLink("操作", "List", "MApplication", null, new { target = "navTab", rel = "Application5" })</li>
                                    <li>@Html.ActionLink("元素", "List", "MApplication", null, new { target = "navTab", rel = "Application6" })</li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent">
                        <!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">
                        left</div>
                    <!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">
                        right</div>
                    <!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">
                        more</div>
                </div>
                <ul class="tabsMoreList">
                    <li><a href="javascript:;">我的主页</a></li>
                </ul>
                <div class="navTab-panel tabsPageContent layoutBox">
                    <div class="page unitBox">
                        <div class="accountInfo">
                            <div class="alertInfo">
                                <p>
                                    <a href="#">{用户名}</a></p>
                                <a href="#">{ip}与{日期}登陆</a>
                            </div>
                            <div class="right">
                                <p>
                                    <a href="#" target="_blank" style="line-height: 19px">权限申请{0}</a></p>
                                <p>
                                    <a href="#" target="_blank" style="line-height: 19px">系统消息{0}</a></p>
                            </div>
                            <p style="color: red;">
                                系统异常{0}</p>
                            <p>
                                待批单据{0}</p>
                        </div>
                        <div class="pageFormContent" layouth="80" style="margin-right: 230px">
                            @RenderBody()
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">
        Copyright &copy; 2010 XXXXX</div>
</body>
</html>
